-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vk validation fixes, plus PowerVR swapchain hack #11747
Conversation
Don't close invalid handles.
…n non-harmful perf warning (doesn't fix all cases, but does fix the most common one).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like SDL needs updating.
I assume width/height still update on rotate for Android?
-[Unknown]
I'll fix up SDL. Android rotation works just fine. |
Maybe it will even fix the Linux/SDL resizing issue somehow... -[Unknown] |
It doesn't. I have a separate branch with an attempt for that which I'll revive soon... |
return false; | ||
} | ||
// Destructor will take care of the image. | ||
return false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, shouldn't this be inside the ALLOCATE_FAILED if?
-[Unknown]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops what happened here.. sloppy editing. I'll fix soon.
This makes us at least boot to a workable menu on PowerVR so you can switch out of Vulkan into OpenGL. However the emulator is still mostly broken, which I attribute to driver bugs at this point. It's also very slow, both in OpenGL and what works of Vulkan, but maybe Honor 7S is just a bad device (#11743).
It's possible that this could help #11457 too.